package com.park.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

public class TicketsRec {
    private int id;
    private int ticketsId;
    private int typeId;
    private BigDecimal price;
    private int amounts;

    private LocalDate recdate;
    private TicketsType ticketsType;
    private Tickets tickets;
    private int num;

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTicketsId() {
        return ticketsId;
    }

    public void setTicketsId(int ticketsId) {
        this.ticketsId = ticketsId;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getAmounts() {
        return amounts;
    }

    public void setAmounts(int amounts) {
        this.amounts = amounts;
    }

    public LocalDate getRecdate() {
        return recdate;
    }

    public void setRecdate(LocalDate recdate) {
        this.recdate = recdate;
    }

    public TicketsType getTicketsType() {
        return ticketsType;
    }

    public void setTicketsType(TicketsType ticketsType) {
        this.ticketsType = ticketsType;
    }

    public Tickets getTickets() {
        return tickets;
    }

    public void setTickets(Tickets tickets) {
        this.tickets = tickets;
    }
}
